package com.myspring.web.exceptions;

import java.util.ConcurrentModificationException;

import org.springframework.stereotype.Service;

import com.myspring.web.exceptions.exModel.BusinessException;

@Service
public class UserService
{
	
	public void save() throws BusinessException {
		throw new BusinessException("UserService 内嵌异常测试", new ConcurrentModificationException());
//		int i = 1/0;
		
		
//		throw new ConcurrentModificationException();
	}
	
	public void modify() {
		int i = 1/0;
	}
}
